import { legacy_createStore, combineReducers, applyMiddleware } from "redux";

import logger from "redux-logger";
import thunk from "redux-thunk";

import reducer from "./reducer/reducer";

const ALL_reduer=combineReducers({
   reducer
})

const store=legacy_createStore(ALL_reduer,applyMiddleware(thunk,logger))
export default store